package com.lovetemperature.service;

import java.util.List;

import com.lovetemperature.model.Member;
import com.lovetemperature.model.Order;

public interface OrderService {
	boolean addOrder(Order order);
	List<Order> findByShopId(Long shopId);
	List<Order> findByMemberId(Long memberId);
	void calculatePrice(Order order, Member memebr);	//根据会员等级,选择相应的优惠策略计算总价
	Order findById(Long orderNum);
	void update(Order order);
	void delect(Order order);
}
